MPHB\Core\BookingRulesData D

Total Complexity 199
Dependencies 2
Dependents 1
Total lines 894
Lines of code 476
Logical lines of code 248
Comment lines 165
Methods 21
Properties 15

Methods 21

Method Rating Maintainability Complexity Lines of code
getBookingRulesForDate()
D
25
62 128
__construct()
D
31 36 101
getUnavailableRoomIds()
A
48 15 29
getNotStayInComments()
A
45 13 40
getBlockedRoomsCountForRoomType()
A
55 8 19
getNotStayInRulesData()
A
54 8 19
isBookingRulesViolated()
S
64 7 9
isStayInNotAllowed()
S
58 5 15
isCheckInNotAllowed()
S
63 5 10
isCheckOutNotAllowed()
S
63 5 10
getMinStayNightsCountForAllSeasons()
S
60 4 13
isMaxStayNightsRuleViolated()
S
63 4 11
isCheckInLaterThanMaxAdvanceDate()
S
63 4 11
isMinStayNightsRuleViolated()
S
66 3 9
getMinStayNightsCount()
S
66 3 8
getMaxAdvanceReservationDaysCount()
S
66 3 8
getBufferDaysCount()
S
66 3 8
getMinAdvanceReservationDaysCount()
S
66 3 8
isCheckInEarlierThanMinAdvanceDate()
S
66 3 9
getMaxStayNightsCount()
S
66 3 8
hasBufferDaysRules()
S
80 2 3